package com.xian.domain;

public class Greens {
	public static final int PANGESIZE = 10;
	int codeid;
	String name;
	String code;
	float price;
	String unit;
	String category;
	String time;
	public int getCodeid() {
		return codeid;
	}
	public void setCodeid(int codeid) {
		this.codeid = codeid;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getCode() {
		return code;
	}
	public void setCode(String code) {
		this.code = code;
	}
	public float getPrice() {
		return price;
	}
	public void setPrice(float price) {
		this.price = price;
	}
	public String getUnit() {
		return unit;
	}
	public void setUnit(String unit) {
		this.unit = unit;
	}
	public String getCategory() {
		return category;
	}
	public void setCategory(String category) {
		this.category = category;
	}
	public String getTime() {
		return time;
	}
	public void setTime(String time) {
		this.time = time;
	}
	@Override
	public String toString() {
		return "Greens [codeid=" + codeid + ", name=" + name + ", code=" + code
				+ ", price=" + price + ", unit=" + unit + ", category="
				+ category + ", time=" + time + "]";
	}

}
